package com.group9.mapper;

import com.group9.pojo.FruitStock;
import com.group9.pojo.FruitStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FruitStockMapper {
    int countByExample(FruitStockExample example);

    int deleteByExample(FruitStockExample example);

    int deleteByPrimaryKey(Integer stockId);

    int insert(FruitStock record);

    int insertSelective(FruitStock record);

    List<FruitStock> selectByExample(FruitStockExample example);

    FruitStock selectByPrimaryKey(Integer stockId);

    int updateByExampleSelective(@Param("record") FruitStock record, @Param("example") FruitStockExample example);

    int updateByExample(@Param("record") FruitStock record, @Param("example") FruitStockExample example);

    int updateByPrimaryKeySelective(FruitStock record);

    int updateByPrimaryKey(FruitStock record);
}